#include  "ota_http_curl.h"
#include  "log.h"
int main(int argc, char const *argv[])
{
    ResponseBody *response_body=  ota_http_curl_get_resp("http://192.168.59.66:8000/fileinfo.json") ;  
    log_info("response_body.body: %s", response_body->response_str);
    ota_http_curl_download_file("http://192.168.59.66:8000/download/gateway","/home/atguigu/gateway.update");

    
    return 0;
}
